package com.lfy.modules.letter.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName sys_global_letter
 */
@TableName(value ="sys_global_letter")
@Data
public class GlobalLetterEntity implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    @TableField(value = "create_by")
    private Long createBy;

    /**
     * 
     */
    @TableField(value = "create_time")
    private Date createTime;
    /**
     *
     */
    @TableField(value = "create_name")
    private String createName;

    /**
     * 主题
     */
    @TableField(value = "subject")
    private String subject;

    /**
     * 内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 是否紧急通知
     */
    @TableField(value = "is_urgent")
    private Integer isUrgent;

    /**
     * 是否邮件通知
     */
    @TableField(value = "is_send_email")
    private Integer isSendEmail;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}